package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

public interface StudentService extends IService<Student> {

    /**
     * 分页条件查询学员信息
     * @param student
     * @return
     */
    PageResult<Student> listStudent(StudentQueryParam student);

    /**
     * 违纪扣分
     * @param id
     * @param score
     */
    void violation(Integer id, Integer score);

}
